package param.lock;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Publicrequest;

/**
 * 锁定接口请求参数
 * @author ice
 *
 */
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "lockrequest")
public class Lockrequest implements Serializable {
	
	private static final long serialVersionUID = -7904027238462199041L;
	
	
	private Publicrequest publicrequest;//公共信息 Publicrequest
	private String departdate;//发车日期	String
	private String schedulecode;//班次代码	String
	private String orderno;//订单ID	String
	private String departtime;//发车时间	String
	private String reachstationcode;//到达站代码	String
	private String seattype;//座型			String
	private int seatnum;//座位数量	int
	private int lockdelay;//锁定时长	int
	private	String ordercustomername;//订单旅客姓名
	private	String ordersex;//订单旅客性别
	private	String ordercertificatetype;//订单旅客证件类型
	private String ordercertificateno;//订单证件号码
	private String orderphone;//订单手机号码
	private String orderemail;//订单订单邮箱
	public String instation;//1是站内售票   0是站外售票 
	
	private List<Lockticketrequestinfo> tickets;//明细	List<Ticket>

	public Publicrequest getPublicrequest() {
		return publicrequest;
	}

	public void setPublicrequest(Publicrequest publicrequest) {
		this.publicrequest = publicrequest;
	}

	public String getDepartdate() {
		return departdate;
	}

	public void setDepartdate(String departdate) {
		this.departdate = departdate;
	}

	public String getSchedulecode() {
		return schedulecode;
	}

	public void setSchedulecode(String schedulecode) {
		this.schedulecode = schedulecode;
	}

	public String getOrderno() {
		return orderno;
	}

	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}

	public String getDeparttime() {
		return departtime;
	}

	public void setDeparttime(String departtime) {
		this.departtime = departtime;
	}


	public String getReachstationcode() {
		return reachstationcode;
	}

	public void setReachstationcode(String reachstationcode) {
		this.reachstationcode = reachstationcode;
	}

	public String getSeattype() {
		return seattype;
	}

	public void setSeattype(String seattype) {
		this.seattype = seattype;
	}

	public int getSeatnum() {
		return seatnum;
	}

	public void setSeatnum(int seatnum) {
		this.seatnum = seatnum;
	}

	public int getLockdelay() {
		return lockdelay;
	}

	public void setLockdelay(int lockdelay) {
		this.lockdelay = lockdelay;
	}

	public List<Lockticketrequestinfo> getTickets() {
		return tickets;
	}
	@XmlElementWrapper(name = "tickets")
	@XmlElement(name = "ticket")
	public void setTickets(List<Lockticketrequestinfo> tickets) {
		this.tickets = tickets;
	}

	public String getOrdercustomername() {
		return ordercustomername;
	}

	public void setOrdercustomername(String ordercustomername) {
		this.ordercustomername = ordercustomername;
	}

	public String getOrdersex() {
		return ordersex;
	}

	public void setOrdersex(String ordersex) {
		this.ordersex = ordersex;
	}

	public String getOrdercertificatetype() {
		return ordercertificatetype;
	}

	public void setOrdercertificatetype(String ordercertificatetype) {
		this.ordercertificatetype = ordercertificatetype;
	}

	public String getOrdercertificateno() {
		return ordercertificateno;
	}

	public void setOrdercertificateno(String ordercertificateno) {
		this.ordercertificateno = ordercertificateno;
	}

	public String getOrderphone() {
		return orderphone;
	}

	public void setOrderphone(String orderphone) {
		this.orderphone = orderphone;
	}

	public String getOrderemail() {
		return orderemail;
	}

	public void setOrderemail(String orderemail) {
		this.orderemail = orderemail;
	}
	
	

}
